import request from "@/utils/request";

// 注册
const getRegister = (data) => request("/user/register", "POST", data)
// 登录
const getLogin = (data) => request("/user/login", "POST", data)
// 退出登录
const outLogin = () => request("/user/logout", "POST")
export {
    getRegister,
    getLogin,
    outLogin
}